package com.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author ben.huang
 */
@Component
@FeignClient(name = "demo-test",url = "http://localhost:8088/hello",fallback = FeignFallBack.class)
public interface FeignConnect {

    @GetMapping("/getFeignTest")
    String getTestFeign();
}
